home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / faredescriptions.sql < prev    next >
Text File  |  2000-05-12  |  984b  |  23 lines

  1. /* RCSVER $Id: faredescriptions.sql,v 1.8 1999-12-02 16:55:37-06 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        faredescriptions.sql
  6. * Date:        12/28/1998
  7. * memo:        Randy Wood
  8. * Description:    Create the faredescriptions table. This table contains 
  9. *        definitions of all fare descriptions (fare types) defined
  10. *        to the system. 
  11. * Changes:    05-24-99  RNW: Removed description to the faretable table.
  12. ************************************************************************* */
  13. CREATE TABLE faredescriptions
  14. (
  15.     id    NUMBER(38),        /* ID of this fare type */
  16.     class_num    NUMBER(38),    /* Default fare class of this type */
  17.     config_num    NUMBER(38)
  18.         CONSTRAINT ref_faredescriptions1 REFERENCES configset(num)
  19.         ON DELETE CASCADE,
  20.     default_descr    VARCHAR2(20),    /* Default description */
  21.     CONSTRAINT pk_faredescriptions PRIMARY KEY (id, config_num)
  22. );
  23.